package com.fsai.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fsai.cms.base.BaseEntity;

/**
 * 友情链接对象 cms_friendly_links
 * 
 * @author jaffe
 * @date 2021-03-11
 */
public class CmsFriendlyLinks extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键ID */
	private Long cflId;

	/** 标题 */
	private String cflTitle;

	/** 图片地址 */
	private String cflImg;

	/** 是否外链（0是 1否） */
	private String enableLink;

	/** 访问地址 */
	private String linkUrl;

	/** 排序 */
	private Integer sortIndex;

	/** 图片描述 */
	private String cflDesc;

	/** 启用状态（0启用 1关闭） */
	private String status;

	public void setCflId(Long cflId) {
		this.cflId = cflId;
	}

	public Long getCflId() {
		return cflId;
	}

	public void setCflTitle(String cflTitle) {
		this.cflTitle = cflTitle;
	}

	public String getCflTitle() {
		return cflTitle;
	}

	public void setCflImg(String cflImg) {
		this.cflImg = cflImg;
	}

	public String getCflImg() {
		return cflImg;
	}

	public void setEnableLink(String enableLink) {
		this.enableLink = enableLink;
	}

	public String getEnableLink() {
		return enableLink;
	}

	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}

	public String getLinkUrl() {
		return linkUrl;
	}

	public void setSortIndex(Integer sortIndex) {
		this.sortIndex = sortIndex;
	}

	public Integer getSortIndex() {
		return sortIndex;
	}

	public void setCflDesc(String cflDesc) {
		this.cflDesc = cflDesc;
	}

	public String getCflDesc() {
		return cflDesc;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("cflId", getCflId())
				.append("cflTitle", getCflTitle()).append("cflImg", getCflImg()).append("enableLink", getEnableLink())
				.append("linkUrl", getLinkUrl()).append("sortIndex", getSortIndex()).append("cflDesc", getCflDesc())
				.append("status", getStatus()).append("createBy", getCreateBy()).append("createTime", getCreateTime())
				.append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("remark", getRemark())
				.toString();
	}
}
